home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
dark_brown_eyes.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2007-09-26
|
2KB
|
86 lines
stop();
replay_bt.onRollOver = function()
{
so1.start(0,1);
this.gotoAndStop(2);
};
replay_bt.onRollOut = function()
{
this.gotoAndStop(1);
};
replay_bt.onPress = function()
{
so1.start(0,1);
gotoAndStop(2);
getUrl("http://jr.naver.com/game/again.php", "pvchk");
};
replay_bt.onRelease = function()
{
this.gotoAndStop(1);
gotoAndStop(2);
getUrl("http://jr.naver.com/game/again.php", "pvchk");
};
replay_bt.onReleaseOutside = function()
{
this.gotoAndStop(1);
gotoAndStop(2);
getUrl("http://jr.naver.com/game/again.php", "pvchk");
};
ava_dress_applay = function()
{
var _loc4_ = 0;
while(_loc4_ < m_name.length)
{
var _loc3_ = _root[m_name[_loc4_] + "_dname"].indexOf("_");
_root.game_ava[m_name[_loc4_] + "_m"].gotoAndStop(parseInt(_root[m_name[_loc4_] + "_dname"].slice(_loc3_ + 1,_loc3_ + 3)) + 2);
trace(m_name[_loc4_] + "_m" + " : stop=" + parseInt(_root[m_name[_loc4_] + "_dname"].slice(_loc3_ + 1,_loc3_ + 3) + 2));
_loc4_ = _loc4_ + 1;
}
_loc4_ = 0;
while(_loc4_ < 12)
{
var _loc2_ = 0;
while(_loc2_ < m_name.length)
{
_root[m_name[_loc2_] + "_" + _loc4_].removeMovieClip();
_loc2_ = _loc2_ + 1;
}
_loc4_ = _loc4_ + 1;
}
};
give_score = function()
{
so3.start(0,1);
if(one_dname == "")
{
if(up_dname == "" || down_dname == "")
{
ending_score.gotoAndStop(4);
}
else
{
ending_score.gotoAndStop(random(3) + 1);
}
}
else
{
ending_score.gotoAndStop(random(3) + 1);
}
game_ava.ava_face.gotoAndStop(ending_score._currentframe + 1);
if(up_dname != "")
{
game_ava.underwear_up._visible = false;
}
if(down_dname != "")
{
game_ava.underwear_down._visible = false;
}
if(one_dname != "")
{
game_ava.underwear_up._visible = false;
game_ava.underwear_down._visible = false;
}
};
give_score();
ava_dress_applay();